package com.example.hibernate.utils;

public class AllWhereClause {

	public static final String GET_USER_DETAILS_FROM_USERNAME = "from Users where username='?'";
	public static final String GET_USER_DETAILS_FROM_ID = "from Users where ffid=?";
	
	public static final String GET_LAST_USER_OPERATION = "from UserOperation where username='?' and operationtime=(select max(timeStamp) from UserOperation where userName='?')";
	public static final String GET_LAST_OPERATION_TIME_USER = "select max(timeStamp) from UserOperation where userName='?' ";
}
